//
//  DemoUpnpCell.h
//  wAudioShare
//
//  Created by 赵帅 on 13-12-12.
//  Copyright (c) 2013年 赵帅. All rights reserved.
//

#import <UIKit/UIKit.h>

@class DemoUpnpCell;

@protocol DemoUpnpDelegate <NSObject>

-(void)expandButtonPressed:(DemoUpnpCell *)cell;
-(void)connectButtonPressed;
-(void)disConnectButtonPressed;
-(void)remoteControlButtonPressed;
-(void)changeNameButtonPressed;

@end

@interface DemoUpnpCell : UITableViewCell

@property (assign) UIViewController<DemoUpnpDelegate> * delegate;
@property (assign) IBOutlet UILabel * contentLabel;
@property (assign) IBOutlet UILabel * uuidLabel;
@property (assign) IBOutlet UIButton * expandButton;
@property (weak, nonatomic) IBOutlet UILabel *ipLabel;
@property (weak, nonatomic) IBOutlet UIButton *changeDeviceNameBtn;

@property (assign) IBOutlet UILabel *hostLabel;

-(void)expand:(BOOL)expand withAnimation:(BOOL)animation;
-(void)isConnected:(BOOL)isAnimation;
-(void)isDisConnected:(BOOL)isAnimation;
-(void)hideAll;
-(void)setStatus:(int)status withVersion:(int)version;

@property (assign) IBOutlet UIButton * remoteControlButton;

@end
